package com.api.devices.mapper;

import com.api.devices.domain.query.MonitoredLatestQuery;
import com.api.devices.domain.query.MonitoredQuery;
import com.api.devices.domain.vo.MonitoredVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MonitoredMapper {
    List<MonitoredQuery> list(@Param("vo") MonitoredVo vo);
    MonitoredQuery item(@Param("vo") MonitoredVo vo);
    List<MonitoredLatestQuery> itemsCode(@Param("items") List<String> monitoredCodeList);
    void create(@Param("vo") MonitoredVo vo);
    void modify(@Param("vo") MonitoredVo vo);
    void delete(@Param("vo") MonitoredVo vo);
}
